//
//  ArrayListString.h
//  LC3Compiler
//
//  Created by Anthony Sierra on 6/1/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>

typedef struct
{
    char ** items;
    int listSize;
    int arraySize;
} ArrayList;


void initializeArrayList(ArrayList * list);
void destroyArrayList(ArrayList * list);
int getSize(const ArrayList * list);
char* getItem(const ArrayList * list, int index);
void setItem(ArrayList * list, int index, char* word);
void addItemToEndOfArrayList(ArrayList * list, char* value);
void addItemBeforeItem(ArrayList * list, int index, char* value);